package com.boyunv.state.example03;
/*
 *@description
 *
 *@author boyunv
 *@create 2023/8/30 20:55
 *@version 1.0
 */

public class Client {
    
    public static void main(String[] args) {
        TrafficLight trafficLight = new TrafficLight();
        trafficLight.switchToRed();
        trafficLight.switchToGreen();
        trafficLight.switchToYellow();
    }
}
